package com.lnking.lnkingplace.mapper;

import com.lnking.lnkingplace.model.entity.Suggest;
import com.lnking.starter.mybatis.mapper.CustomBaseMapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-19
 */
public interface SuggestMapper extends CustomBaseMapper<Suggest> {
    @Update(" update suggest set answer = #{answer} where id = #{id}")
    void updateAnswer(@Param("id") String id,@Param("answer") String answer);
}
